﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skynet.BusinessEntities;
namespace Skynet.BusinessLogic.DataAccess
{
    public interface IQuestionRepository
    {
        void Add(BaseQuestion item);
        void Update(BaseQuestion item);
        void UpdateReview(Guid CustomerQuestionId, bool review);
        void UpdateScore(Guid CustomerQuestionId, double score);
        BaseQuestion GetDesignQuestion(Guid key);        
        List<BaseQuestion> DesignQuestionsByExamId(Guid Id);
        List<BaseQuestion> RuntimeByCustomerExamId(Guid ExamCustomerId);
        void AddRuntimeQuestion(BusinessEntities.BaseQuestion Question);
        void LoadRuntimeQuestion(ref BusinessEntities.BaseQuestion Question);
        
    }
} 
